package com.tg.paw.ums.dto;

import com.tg.paw.common.util.TokenData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Rubble
 * @date 2020/10/27
 */
@Data
@ApiModel("登录返回对象")
public class LoginAccountDto {

    @ApiModelProperty("状态 ok error")
    private String status;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("权限")
    private List<String> authorities;

    @ApiModelProperty("token")
    private TokenData tokenData;

    @ApiModelProperty("message")
    private String message;

}
